<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>业务联系书</title>
<style type="text/css">
.table {TABLE-LAYOUT: fixed}
.td {
LEFT: 10px;
WORD-WRAP: break-word;
}
.maintable {
width: 600px;
border-collapse: collapse
}
.maintable tbody td {
border: 1px solid #000;
vertical-align: middle;
font-size: 12px;
font-family: Arial,Verdana,Helvetica,sans-serif,"宋体";
white-space: normal;
}
.maintable tbody td {
		border: 1px solid #000;
		vertical-align: middle;
		line-height:20px;
		font-size: 12px;
		font-family: Arial,Verdana,Helvetica,sans-serif,"宋体";
		white-space: normal;
	}
	</style>

</head>


<body>
<div align="center">
 <p><font size="+3">业务联系书</font></p>
 
 <div style="width:600px;"><span style="float:left;">  编号：${serial }</span>  <span style="float:right;">发出日期：${creattimeString }</span></div>
 <table class="maintable">
   <tr>
     <td width="15%">主送</td>
     <td colspan="3" align="left">
     <c:forEach items="${taskdepts}" var="item1" varStatus="status2">
	 ${item1.orgInfo}/
	 </c:forEach>
     </td>
   </tr>
   <tr>
     <td>抄送</td>
     <td colspan="3" align="left">
     	<c:forEach items="${taskSendDepts}" var="item2" varStatus="status2">
		${item2.orgInfo}/
		</c:forEach>
     </td>
   </tr>
   <tr>
     <td>主题词</td>
     <td colspan="3" align="left">${title}</td>
   </tr>
   <tr>
     <td colspan="4" align="left">
       <label> <input type="checkbox" name="1" id="1" /> 请回复</label>
       <label>  <input type="checkbox" name="2" id="2" />请办理并反馈</label>
       
       
       <label> <input type="checkbox" name="3" id="3" />紧急</label>
       <label> <input type="checkbox" name="4" id="4" />一般</label>
     </td>
     
   </tr>
   <tr>
     <td height="300" colspan="4" valign="top" align="left" style="vertical-align: top;">${content }</td>
   </tr>
   <tr>
     <td>附件</td>
     <td colspan="3" align="left">
     	<c:forEach items="${attach}" var="item" varStatus="status">
     	${item.name }、
     	</c:forEach>
     </td>
   </tr>
   <tr>
     <td width="15%">经办</td>
     <td widht="35%" align="left">${username }</td>
     <td width="15%">电话</td>
     <td width="35%" align="left">${tel }</td>
   </tr>
   <tr>
     <td>审核</td>
     <td align="left">
     	<c:forEach items="${taskProcessList}" var="item2" varStatus="status2">
     		<c:if test="${item2.hanldetype == 4 or item2.hanldetype == 6}">${item2.username }</c:if>
     	</c:forEach>
     </td>
     <td>批准</td>
     <td align="left">
     	<c:forEach items="${taskProcessList}" var="item2" varStatus="status2">
     		<c:if test="${item2.hanldetype == 5}">${item2.username }</c:if>
     	</c:forEach>
     </td>
   </tr>
   <tr>
     <td colspan="4">
     	<table class="maintable">
     		<tr>
	     		<td width="50" style="text-align: center;">序号</td>
				<td width="11%" style="text-align: center;">办理人编号</td>
				<td width="10%" style="text-align: center;">办理人</td>
				<td width="11%" style="text-align: center;">上一办理人</td>
				<td width="10%" style="text-align: center;">办理类型</td>
				<td width="20%" style="text-align: center;">办理时间</td>
				<td style="text-align: center;">办理结果</td>
			</tr>
			<c:forEach items="${taskProcessList}" var="item" varStatus="status">
			<c:if test="${item.taskaction != 3 }">
			<tr>
				<td align="center">${status.index+1}</td>
				<td align="center">${item.hanlder }</td>
				<td align="center">${item.username }</td>
				<td align="center">${item.zprxm }</td>
				<td align="center">
					<c:if test="${item.hanldetype == 1}">办理</c:if>
					<c:if test="${item.hanldetype == 2}"><span style="color: blue;">抄送</span></c:if>
					<c:if test="${item.hanldetype == 3}">代办</c:if>
					<c:if test="${item.hanldetype == 4}">转下一审批</c:if>
					<c:if test="${item.hanldetype == 5}">审批完成</c:if>
					<c:if test="${item.hanldetype == 6}">审批退回</c:if>
				</td>
				
				<td align="center">${item.hanldtimeString}</td>
				<td align="left">${item.hanldresult}</td>
			</tr>
			</c:if>
			</c:forEach>
     	</table>
     </td>
   </tr>
 </table>
 
</div>
</body>

</html>
